IdeaBlade DevForce 2010 Help Reference
DateTimeRangeVerifier Constructor(Type,String,Boolean,Nullable<DateTime>,Nullable<DateTime>)
See Also  Send Feedback
IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace > DateTimeRangeVerifier Class > DateTimeRangeVerifier Constructor : DateTimeRangeVerifier Constructor(Type,String,Boolean,Nullable<DateTime>,Nullable<DateTime>)



applicableType
propertyName
isRequired
minValue
maxValue
Constructs a new DateTimeRangeVerifier for inclusive DateTime period.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal applicableType As Type, _
   ByVal propertyName As String, _
   ByVal isRequired As Boolean, _
   ByVal minValue As Nullable(Of Date), _
   ByVal maxValue As Nullable(Of Date) _
)
Visual Basic (Usage)Copy Code
Dim applicableType As Type
Dim propertyName As String
Dim isRequired As Boolean
Dim minValue As Nullable(Of Date)
Dim maxValue As Nullable(Of Date)
 
Dim instance As New DateTimeRangeVerifier(applicableType, propertyName, isRequired, minValue, maxValue)
C# 
public DateTimeRangeVerifier( 
   Type applicableType,
   string propertyName,
   bool isRequired,
   Nullable<DateTime> minValue,
   Nullable<DateTime> maxValue
)
C++/CLI 
public:
DateTimeRangeVerifier( 
   Type^ applicableType,
   String^ propertyName,
   bool isRequired,
   Nullable<DateTime> minValue,
   Nullable<DateTime> maxValue
)

Parameters

applicableType
propertyName
isRequired
minValue
maxValue

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.